export default [
  {
    path: '/',
    redirect: '/goods'
  },
  {
    path: '/user',
    name: 'user',
    component: () => import('@/view/user'),
    meta: {
      title: '会员中心'
    }
  },
  {
    path: '/cart',
    name: 'cart',
    component: () => import('@/view/cart'),
    meta: {
      title: '购物车'
    }
  },
  {
    path: '/goods',
    name: 'goods',
    component: () => import('@/view/goods'),
    meta: {
      title: '商品详情'
    }
  }
]
